package com.jams.goodox.activity.serve;

import com.jams.goodox.activity.wallet.PayConstants;
import com.jams.goodox.widget.PayView;

/**
 * 默认将微信
 * Created by jams_zhen on 2017/5/11.
 */

public abstract class PayChooseDefault implements PayView.OnPayChoose,PayConstants {

    @Override
    public void goPay(int payType) {
        switch (payType){
            case BALANCE:
                doBalance();
                break;
            case ZFB:
                doZFB();
                break;
            case WX:
                doWX();
                break;
            case YL:
                doYL();
                break;
        }
    }

    public abstract void doBalance();

    public void doZFB(){}

    public void doWX(){}

    public void doYL(){}
}
